package com.example.springboot.controller;

import com.example.springboot.common.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/***
 * @description 提供接口返回数据
 * @param null
 * @return
 * @author GISer世界
 * @date 2024-08-20
 */

@RestController
public class WebController {

    @RequestMapping
    public Result hello(String name){
        return Result.success(name);
    }
}
